package com.effectiv.req1.domain;

import java.util.Date;
import java.util.List;
import java.util.Set;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.DBRef;

import lombok.Getter;
import lombok.Setter;

public class UseCase {
	@Id
	@Getter @Setter
	private String id;
	@Getter @Setter
	private String name;
	@Getter @Setter
	private String description;
	@DBRef
	@Getter @Setter
	private User createdBy;
	@DBRef
	@Getter @Setter
	private User lastUpdatedBy;
	@Getter @Setter
	private Date createdDate;
	@Getter @Setter
	private Date lastUpdatedDate;
	
	@DBRef
	@Getter @Setter
	private Project project;
	
	@DBRef
	@Getter @Setter
	private Company company;
	
	@Getter @Setter
	private Flow mainFlow;
	
	@DBRef
	@Getter @Setter
	private List<Actor> actors;
	@Getter @Setter
	private List<String> preConditions;
	@Getter @Setter
	private List<String> postConditions;
	@Getter @Setter
	private Priority priority;
	@Getter @Setter
	private List<String> exceptions;
	
	@DBRef
	@Getter @Setter
	private List<UseCase> includes;
	@Getter @Setter
	private List<String> specialRequirements;
	@Getter @Setter
	private List<String> assumptions;
	@Getter @Setter
	private List<String> notes;
	@Getter @Setter
	private List<String> issues;
	
	@Getter @Setter
	private String status;
	
	
}
